package com.ol.edu.server.service.advertise;


import com.github.pagehelper.PageInfo;
import com.ol.edu.server.entity.PromotionSpace;

import java.util.List;

/**
 * @author Roger
 * @date 2020/9/7 10:16
 * @description
 */
public interface PromotionSpaceService {
    /*
        获取广告位列表数据
     */
    PageInfo<PromotionSpace> findAllPromotionSpaceByPage(Integer currentPage, Integer pageSize);
    /*
        获取广告位列表数据
     */
    List<PromotionSpace> findAllPromotionSpace();
    /*
        添加广告位
     */
    void savePromotionSpace(PromotionSpace promotionSpace);
    /*
        修改广告位
     */
    void updatePromotionSpace(PromotionSpace promotionSpace);
    /*
        回显广告位名称
     */
    PromotionSpace findPromotionSpaceById(Integer id);

}
